import { FC } from 'react'

interface InputProps {
  type?: 'text' | 'number'
}

const Input: FC<InputProps> = ({ type = 'text' }) => {
  return (
    <div>
      <span>input:</span>
      <input type={type} />
    </div>
  )
}

export default Input
